home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.3
/
CmdCmplt.3
< prev
next >
Wrap
Text File
|
1995-07-25
|
2KB
|
67 lines
TTTTccccllll____CCCCoooommmmmmmmaaaannnnddddCCCCoooommmmpppplllleeeetttteeee((((3333)))) TTTTccccllll (((( )))) TTTTccccllll____CCCCoooommmmmmmmaaaannnnddddCCCCoooommmmpppplllleeeetttteeee((((3333))))
_________________________________________________________________
NNNNAAAAMMMMEEEE
Tcl_CommandComplete - Check for unmatched braces in a Tcl
command
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ttttccccllll....hhhh>>>>
int
TTTTccccllll____CCCCoooommmmmmmmaaaannnnddddCCCCoooommmmpppplllleeeetttteeee(_c_m_d)
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
char *_c_m_d (in) Command string to test for
completeness.
_________________________________________________________________
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
TTTTccccllll____CCCCoooommmmmmmmaaaannnnddddCCCCoooommmmpppplllleeeetttteeee takes a Tcl command string as argument
and determines whether it contains one or more complete
commands (i.e. there are no unclosed quotes, braces,
brackets, or variable references). If the command string is
complete then it returns 1; otherwise it returns 0.
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
complete command, partial command
Page 1 (printed 7/10/95)